<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>签约网</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/lawyer.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="../script/mobile.js"></script>
    <script type="text/javascript" src="../script/lawyer.js"></script>
</head>
<body>
<header class="header">
    <a href="javascript:void(0);" onclick="api.closeWin()" class="back_btn"><img src="../image/head-fanhui.png" alt=""></a>
    <h2>我的收藏</h2>
    <!--<a href="javascript:void (0);" class="search_btn set_btn">设置</a>-->
</header>
<section class="info_kinds">
    <div class="info">
        <ul>
            <li class=""><a href="javascript:;" onclick="aaplay('index','personal_collect_article.html')">文章</a></li>
            <li class="active"><a href="javascript:;" onclick="aaplay('index','personal_collect_dynamic.html')">动态</a></li>
        </ul>
    </div>
</section>
<section class="lawyers">
    <div class="lawyers_list">
        <ul>
            <li>
                <div class="userInfo">
                    <img src="../image/userimg1.jpg" alt="">
                    <div class="userName">
                        <h6>张岳伦律师 <i>LV.6</i></h6>
                        <span>2019-11-25  18:51</span>
                    </div>
                </div>
                <a href="javascript:;" onclick="aaplay('index','##')">
                    <div class="comment_info">
                        <p>我转租了一个门面，签合同的时候说明里面东西都归我，现在有人来说机器是他的，要求我归还，我是不是可以不给他？</p>
                        <!-- <dl>
                            <dd><img src="../image/photos1.jpg" alt=""></dd>
                            <dd><img src="../image/photos2.jpg" alt=""></dd>
                            <dd><img src="../image/photos3.jpg" alt=""></dd>
                        </dl> -->
                    </div>
                </a>
                <div class="lawyers_active">
                    <dl>
                        <dd><a href="##" class="lawyers_share">34</a></dd>
                        <dd><a href="##" class="lawyers_info">20</a></dd>
                        <dd><a href="javascript:void (0);" class="lawyers_fabulous">132</a></dd>
                    </dl>
                </div>
            </li>


        </ul>
    </div>
</section>
</body>

<script>
    function aaplay(name,url){
        api.openWin({
            name: name,
            url: url,
            pageParam: {

            }
        });
    }
    //点赞
    $(document).on('click','.lawyers_list dl dd .lawyers_fabulous',function(){
    //$(".lawyers_list dl dd .lawyers_fabulous").click(function () {
        //console.log(parseInt($(this).text())+1)
        if(!$(this).hasClass('active')){
            $(this).addClass('active');
            $(this).html(parseInt($(this).text())+1)
        }
    });

</script>
</html>
